package com.fxkj.cloud.drms.application;

import com.fxkj.cloud.dbs.common.constants.DataType;
import com.fxkj.cloud.dbs.common.model.alarmItem.ProductAlarmItemCreate;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.UUID;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/3/18 13:45
 */
public interface ProductApplicationService {
    void createProduct(UUID rootOrganizationId, UUID productId, Map<String, DataType> attributeKeyDataTypeMap);

    void addProductAttribute(UUID productId, Map<String, DataType> attributeKeyDataTypeMap, Set<String> deviceSerialNos, List<ProductAlarmItemCreate> productAlarmItemCreates);

    void removeProductAttribute(UUID productId, Set<String> attributeKeys);
}
